---@class Battle.SkillScriptBase
local SkillScriptBase = Battle.CreateClass("SkillScriptBase")
Battle.SkillScriptBase = SkillScriptBase

function SkillScriptBase:BaseOnCreate(skill)
    ---@type Battle.Skill
    self.skill = skill
    ---@type Battle.Entity
    self.actor = skill.actor

    self:OnCreate()
end

function SkillScriptBase:BaseDestroy()
    self:OnDestroy()
end
--region override
---创建
function SkillScriptBase:OnCreate()

end
---销毁
function SkillScriptBase:OnDestroy()

end
---技能起手
function SkillScriptBase:OnSkillStart()
end
---技能结束
function SkillScriptBase:OnSkillEnd()

end
function SkillScriptBase:Update(dt)

end

--endregion override
return SkillScriptBase


